<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@include file="/header.jsp" %>
<script>
    if (sessionStorage.getItem("doLogin")) {
        sessionStorage.removeItem("doLogin")
        $('#loginFormModal').modal()
    }
</script>

<div class="row">
    <%@include file="/user/user_information_left_nav.jsp" %>
    <div class="col-md-5">
        <form class="passwordFrom" role="formdoLogin" method="post" onsubmit="sessionStorage.setItem('doLogin',true)"
              action="${pageContext.request.contextPath}/user/updatePassword.action"
              style="width: 70%" id="passwordFrom">
            <div class="form-group" id="oldPassword">
                <label>旧密码</label>
                <input type="password" class="form-control" name="oldPassword"/>
            </div>
            <div class="form-group" id="newPassword">
                <label>新密码</label>
                <input type="password" class="form-control" name="newPassword"/>
            </div>
            <div class="form-group">
                <label>确认密码</label>
                <input type="password" class="form-control" name="rePassword"/>
            </div>
            <div class="form-group">
                <button type="submit" name="submit" class="btn btn-primary">提交</button>
            </div>
        </form>
    </div>
</div>



<script>

</script>